package cn.wenhe9.yygh.user.service;

import cn.wenhe9.yygh.common.result.ResultResponse;
import cn.wenhe9.yygh.model.user.Patient;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author DuJinliang
 * 2022/4/6
 */
public interface PatientService extends IService<Patient> {
    /**
     * 获取就诊人列表
     * @param userId Long
     * @return ResultResponse
     */
    ResultResponse findAllByUserId(Long userId);

    /**
     * 根据id获取就诊人信息
     * @param id Long
     * @return ResultResponse
     */
    Patient getPatientById(Long id);
}
